package com.qf.zyh.dao;

import com.qf.zyh.entity.Orders;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface OrderDao {
    int addOrder(Orders od);

    List<Orders> seleor(int uid) throws SQLException, InvocationTargetException, IllegalAccessException;

    Orders seleoid(String oid) throws SQLException, InvocationTargetException, IllegalAccessException;

    int updastate(String oid, int sp);
}
